[Unit]
Description=Node Exporter
Wants=network-online.target
After=network-online.target
 
[Service]
Type=simple
User={{ owner }}
Group={{ group }}
Restart=on-failure
RestartSec=30
ExecStart={{ node_exporter_install_path }}/node_exporter/node_exporter --web.listen-address=:{{ node_exporter_port }}
 
[Install]
WantedBy=multi-user.target
